package cn.antalk.top.normal.service;

import cn.antalk.top.normal.entity.Comment;
import cn.antalk.top.normal.entity.CommentForShow;
import cn.antalk.top.normal.entity.Talk_User;

import java.util.List;

/**
 * @Author: WackyBoy
 * @Date: 2021/12/4 19:04
 */

public interface TalkService {
    public boolean pushTalk(int user_id, String content);

    List<Talk_User> getTalkByPageAndCount(int page, int count);

    List<Integer> getLike2UidByTalkId(Integer talk_id);

    int changeLikeState(int uid, int talk_id);

    List<CommentForShow> getTalkCommentAllInfoByTalkId(int talkId, Boolean token);

    boolean postTalkComment(String content, int talkId, int talkUid, int uId);

    Comment changeCommentLikeState(int comment_id, int u_id, boolean likeStatus);
}
